package com.xin.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 荣誉获奖
 * </p>
 *
 * @author l1
 * @since 2017-10-24
 */
@TableName("u_honor_award")
public class UHonorAward extends Model<UHonorAward> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 教师编号
     */
	@TableField("teacher_id")
	private String teacherId;
    /**
     * 日期
     */
	@TableField("winning_date")
	private String winningDate;
    /**
     * 荣誉名称
     */
	private String name;
    /**
     * 授予单位
     */
	@TableField("grant_unit")
	private String grantUnit;
    /**
     * 级别
     */
	private String level;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public String getWinningDate() {
		return winningDate;
	}

	public void setWinningDate(String winningDate) {
		this.winningDate = winningDate;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGrantUnit() {
		return grantUnit;
	}

	public void setGrantUnit(String grantUnit) {
		this.grantUnit = grantUnit;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "UHonorAward{" +
			"id=" + id +
			", teacherId=" + teacherId +
			", winningDate=" + winningDate +
			", name=" + name +
			", grantUnit=" + grantUnit +
			", level=" + level +
			"}";
	}
}
